var mysql = require('mysql');
var connection = mysql.createConnection({
	host: 'localhost',
	user: 'root',
	password: 'Gxx@5678',
	database: 'user'
});

connection.connect();

connection.query('SELECT * from user', function (error, results, fields) {
	if (error) throw error;
	console.log('The solution is: ', results);
});
